package com.jic.interaction.JDVOP.service;

import com.jic.interaction.JDVOP.model.enyity.Payment;
import com.jic.interaction.JDVOP.model.enyity.PaymentDetail;
import com.jic.interaction.JDVOP.model.enyity.order.CancelOrder;
import com.jic.interaction.JDVOP.model.vo.response.PaymentDetailResponse;
import com.jic.interaction.JDVOP.model.vo.response.PaymentResponse;

/**
 * @ClassName PaymentService
 * TODO
 * @Description 支付接口
 * @Author chenhongfeng
 * @Date 2020/11/16 14:47
 * @Version 1.0
 **/
public interface PaymentService {
    /**
     * 查询余额      查询金采和预存款余额的余额。
     * @param request
     * @return
     */
    PaymentResponse selectUnionBalance(Payment request);

    /**
     * 查询余额变动明细     仅支持预存款余额明细查询，不支持金采余额明细查询。
     * @param request
     * @return
     */
    PaymentDetailResponse selectBalanceDetail(PaymentDetail request);

    /**
     * 发起支付接口
     * @param request
     * @return
     */
    String selectInitiatePayment(CancelOrder request);
}
